<?php 
/**
 * @version			$Id$
 * @author			Richard Asp
 * @package			Joomla
 * @subpackage		gnudoor
 * @copyright		(C) 2010 gnudoor LLC
 * @license      GNU/GPL, see LICENSE.php
 * Joomla! is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 * See COPYRIGHT.php for copyright notices and details.
 */

defined( '_JEXEC' ) or die( 'Restriced access' ); 
JHTML::_('stylesheet', 'myform.css','components/com_gnudoor/assets/css/');
JHTML::_('behavior.mootools');
$params = &JComponentHelper::getParams( 'com_gnudoor' );
$topalias = $params->get( 'Select Page Top' );
$bottomalias = $params->get( 'Select Page Bottom' );

$model =& $this->getModel('Appt');
$topID = $model->getArticleID($topalias);
$topid = $topID->id;
$bottomID = $model->getArticleID($bottomalias);
$bottomid = $bottomID->id;
?>
<?php echo file_get_contents($this->articlebase . $topid);?>

<div id="newtask" class="myform">
<div id="Layer6" style="position: relative; left: 15px; top: 44px; width: 266px; height: 26px; z-index: 6; vertical-align: middle">This is the second item</div>
<div id="Layer7" style="position: relative; left: 288px; top: 44px; width: 20px; height: 26px; z-index: 7; vertical-align: middle"><div align="right">2</div></div>
<div id="Layer8" style="position: relative; left: 315px; top: 44px; width: 87px; height: 26px; z-index: 8; vertical-align: middle"><div align="right">200.00</div></div>
<div id="Layer9" style="position: relative; left: 409px; top: 44px; width: 87px; height: 26px; z-index: 9; vertical-align: middle"><div align="right">400.00</div></div>
<div id="Layer10" style="position: relative; left: 517px; top: 44px; width: 20px; height: 26px; z-index: 10; vertical-align: middle"><input type="checkbox" name="checkbox2" value="checkbox" /></div>

<div id="Layer11" style="position: relative; left: 15px; top: 71px; width: 266px; height: 26px; z-index: 11; vertical-align: middle">How is this</div>
<div id="Layer12" style="position: relative; left: 288px; top: 71px; width: 20px; height: 26px; z-index: 12; vertical-align: middle"><div align="right">1</div></div>
<div id="Layer13" style="position: relative; left: 315px; top: 71px; width: 87px; height: 26px; z-index: 13; vertical-align: middle"><div align="right">10.00</div></div>
<div id="Layer14" style="position: relative; left: 409px; top: 71px; width: 87px; height: 26px; z-index: 14; vertical-align: middle"><div align="right">10.00</div></div>
<div id="Layer15" style="position: relative; left: 517px; top: 71px; width: 20px; height: 26px; z-index: 15; vertical-align: middle"><input type="checkbox" name="checkbox3" value="checkbox" /></div>

<div id="Layer16" style="position: relative; left: 15px; top: 98px; width: 266px; height: 26px; z-index: 16; vertical-align: middle">Music</div>
<div id="Layer17" style="position: relative; left: 288px; top: 98px; width: 20px; height: 26px; z-index: 17; vertical-align: middle"><div align="right">1</div></div>
<div id="Layer18" style="position: relative; left: 315px; top: 98px; width: 87px; height: 26px; z-index: 18; vertical-align: middle"><div align="right">10.00</div></div>
<div id="Layer19" style="position: relative; left: 409px; top: 98px; width: 87px; height: 26px; z-index: 19; vertical-align: middle"><div align="right">10.00</div></div>
<div id="Layer20" style="position: relative; left: 517px; top: 98px; width: 20px; height: 26px; z-index: 20; vertical-align: middle"><input type="checkbox" name="checkbox4" value="checkbox" /></div>

<div id="Layer21" style="position: relative; left: 15px; top: 125px; width: 266px; height: 26px; z-index: 21; vertical-align: middle">Videos</div>
<div id="Layer22" style="position: relative; left: 288px; top: 125px; width: 20px; height: 26px; z-index: 22; vertical-align: middle"><div align="right">2</div></div>
<div id="Layer23" style="position: relative; left: 315px; top: 125px; width: 87px; height: 26px; z-index: 23; vertical-align: middle"><div align="right">15.00</div></div>
<div id="Layer24" style="position: relative; left: 409px; top: 125px; width: 87px; height: 26px; z-index: 24; vertical-align: middle"><div align="right">30.00</div></div>
<div id="Layer25" style="position: relative; left: 517px; top: 125px; width: 20px; height: 26px; z-index: 25; vertical-align: middle"><input type="checkbox" name="checkbox5" value="checkbox" /></div>
</div>
<?php echo file_get_contents($this->articlebase . $bottomid);?>

